Integrand size = 13, antiderivative size = 19 \[ \int \frac {\csc ^4(x)}{i+\tan (x)} \, dx=-\frac {1}{2} \cot ^2(x)+\frac {1}{3} i \cot ^3(x) \]
[Out]
Time = 0.05 (sec) , antiderivative size = 19, normalized size of antiderivative = 1.00, number of steps used = 4, number of rules used = 3, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.231, Rules used = {3597, 862, 45} \[ \int \frac {\csc ^4(x)}{i+\tan (x)} \, dx=-\frac {\cot ^2(x)}{2}+\frac {1}{3} i \cot ^3(x) \]
[In]
[Out]
Rule 45
Rule 862
Rule 3597
Rubi steps \begin{align*} \text {integral}& = \text {Subst}\left (\int \frac {1+x^2}{x^4 (i+x)} \, dx,x,\tan (x)\right ) \\ & = \text {Subst}\left (\int \frac {-i+x}{x^4} \, dx,x,\tan (x)\right ) \\ & = \text {Subst}\left (\int \left (-\frac {i}{x^4}+\frac {1}{x^3}\right ) \, dx,x,\tan (x)\right ) \\ & = -\frac {1}{2} \cot ^2(x)+\frac {1}{3} i \cot ^3(x) \\ \end{align*}
Time = 0.04 (sec) , antiderivative size = 29, normalized size of antiderivative = 1.53 \[ \int \frac {\csc ^4(x)}{i+\tan (x)} \, dx=-\frac {1}{3} i \cot (x)-\frac {\csc ^2(x)}{2}+\frac {1}{3} i \cot (x) \csc ^2(x) \]
[In]
[Out]
Time = 7.68 (sec) , antiderivative size = 15, normalized size of antiderivative = 0.79
method | result | size |
derivativedivides | \(-\frac {1}{2 \tan \left (x \right )^{2}}+\frac {i}{3 \tan \left (x \right )^{3}}\) | \(15\) |
default | \(-\frac {1}{2 \tan \left (x \right )^{2}}+\frac {i}{3 \tan \left (x \right )^{3}}\) | \(15\) |
risch | \(\frac {4 \,{\mathrm e}^{4 i x}-2 \,{\mathrm e}^{2 i x}+\frac {2}{3}}{\left ({\mathrm e}^{2 i x}-1\right )^{3}}\) | \(28\) |
parallelrisch | \(\frac {\left (7-4 i \cot \left (x \right )\right ) \cos \left (2 x \right )+5-4 i \cot \left (x \right )}{-12+12 \cos \left (2 x \right )}\) | \(31\) |
[In]
[Out]
Both result and optimal contain complex but leaf count of result is larger than twice the leaf count of optimal. 36 vs. \(2 (13) = 26\).
Time = 0.24 (sec) , antiderivative size = 36, normalized size of antiderivative = 1.89 \[ \int \frac {\csc ^4(x)}{i+\tan (x)} \, dx=\frac {2 \, {\left (6 \, e^{\left (4 i \, x\right )} - 3 \, e^{\left (2 i \, x\right )} + 1\right )}}{3 \, {\left (e^{\left (6 i \, x\right )} - 3 \, e^{\left (4 i \, x\right )} + 3 \, e^{\left (2 i \, x\right )} - 1\right )}} \]
[In]
[Out]
\[ \int \frac {\csc ^4(x)}{i+\tan (x)} \, dx=\int \frac {\csc ^{4}{\left (x \right )}}{\tan {\left (x \right )} + i}\, dx \]
[In]
[Out]
none
Time = 0.22 (sec) , antiderivative size = 12, normalized size of antiderivative = 0.63 \[ \int \frac {\csc ^4(x)}{i+\tan (x)} \, dx=-\frac {i \, {\left (-3 i \, \tan \left (x\right ) - 2\right )}}{6 \, \tan \left (x\right )^{3}} \]
[In]
[Out]
none
Time = 0.31 (sec) , antiderivative size = 12, normalized size of antiderivative = 0.63 \[ \int \frac {\csc ^4(x)}{i+\tan (x)} \, dx=-\frac {3 \, \tan \left (x\right ) - 2 i}{6 \, \tan \left (x\right )^{3}} \]
[In]
[Out]
Time = 4.29 (sec) , antiderivative size = 13, normalized size of antiderivative = 0.68 \[ \int \frac {\csc ^4(x)}{i+\tan (x)} \, dx=\frac {{\mathrm {cot}\left (x\right )}^2\,\left (-3+\mathrm {cot}\left (x\right )\,2{}\mathrm {i}\right )}{6} \]
[In]
[Out]